import { createApp } from 'vue'
import './assets/style.css'
import App from './App.vue'

import Antd from 'ant-design-vue';

import 'ant-design-vue/dist/reset.css';
import router from './router/router'

import { createPinia } from 'pinia'
import Header from './components/com/header.vue'

const pinia = createPinia()
const app = createApp(App);


app.use(router)
app.use(pinia)

//组件注册
app.component('Header', Header)//头部


app.use(Antd).mount('#app');